Package com.cisco.pt.ipc.sim
Interface DHCPClientProcess
- All Known Implementing Classes:
DHCPClientProcessImpl
Information provided by the PKI file:
\class DhcpClientProcess
\brief DhcpClientProcess handles the DHCP client process.
\example network().getDevice("Router0").getProcess("DhcpClient")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPortDataEntry(String portName) booleandhcpRelease(String portName) Information provided by the PKI file:voidInformation provided by the PKI file:getDataOfPort(String portName) booleanisPortExisted(String portName) Information provided by the PKI file:voidremovePortDataEntry(String portName) Information provided by the PKI file:booleanresetDhcpConfOn(String portName) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
removePortDataEntry
Information provided by the PKI file:
\brief Runs DHCP on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Parameters:
portName- Takes in a parameter of portName
-
addPortDataEntry
- Parameters:
portName- Takes in a parameter of portName
-
isPortExisted
Information provided by the PKI file:
\brief Runs DHCP on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
dhcpRun
Information provided by the PKI file:
\brief Start dhcp process on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0- Parameters:
portName- Takes in a parameter of portName
-
dhcpRelease
Information provided by the PKI file:
\brief Releases the DHCP lease from the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
resetDhcpConfOn
Information provided by the PKI file:
\brief Resets the DHCP configuration on the specified port. \param portName, portName can be one of the following plus a port number where appropriate: Console, Aux, Ethernet, FastEthernet, GigabitEthernet, Serial, Wireless, Loopback, Vlan, Modem, Coaxial, Rs232, Async. Example: FastEthernet0/0 \return bool, true if successful, otherwise false.- Parameters:
portName- Takes in a parameter of portName- Returns:
- boolean Returns a boolean
-
getDataOfPort
- Parameters:
portName- Takes in a parameter of portName- Returns:
- DHCPClientPortData Returns a DHCPClientPortData
-